package com.kkwrite.regimen.common.entity.dto.decrypt;

import java.io.Serializable;

/**
 * Created by lisha on 2018/7/20 13:54.
 *
 * @author lisha
 */
public class DecryptPhoneNumInDTO implements Serializable {
    private static final long serialVersionUID = -2179281645229032784L;

    private String encryptData;
    private String ivData;

    public boolean isEmpty() {
        return encryptData == null || encryptData.isEmpty() || ivData == null || ivData.isEmpty();
    }

    public String getEncryptData() {
        return encryptData;
    }

    public void setEncryptData(String encryptData) {
        this.encryptData = encryptData;
    }

    public String getIvData() {
        return ivData;
    }

    public void setIvData(String ivData) {
        this.ivData = ivData;
    }

    @Override
    public String toString() {
        return "DecryptPhoneNumInDTO{" +
                "encryptData='" + encryptData + '\'' +
                ", ivData='" + ivData + '\'' +
                '}';
    }
}
